package o;

import android.app.Activity;
import android.content.pm.PackageManager;
import o.fe.d;

class fe$4 implements Runnable {
    final /* synthetic */ int ˊ;
    final /* synthetic */ Activity ˋ;
    final /* synthetic */ String[] ˎ;

    fe$4(String[] strArr, Activity activity, int i) {
        this.ˎ = strArr;
        this.ˋ = activity;
        this.ˊ = i;
    }

    public void run() {
        int[] iArr = new int[this.ˎ.length];
        PackageManager packageManager = this.ˋ.getPackageManager();
        String packageName = this.ˋ.getPackageName();
        int length = this.ˎ.length;
        for (int i = 0; i < length; i++) {
            iArr[i] = packageManager.checkPermission(this.ˎ[i], packageName);
        }
        ((d) this.ˋ).onRequestPermissionsResult(this.ˊ, this.ˎ, iArr);
    }
}
